projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a0739
)
overlay: Fix remove implementation
author
Timm Bäder
<mail@baedert.org>
Sun, 4 Mar 2018 19:03:54 +0000
(20:03 +0100)
committer
Timm Bäder
<mail@baedert.org>
Sun, 4 Mar 2018 19:03:54 +0000
(20:03 +0100)
Use the child widget list of the overlay, not the passed child.
gtk/gtkoverlay.c
patch
|
blob
|
history
diff --git
a/gtk/gtkoverlay.c
b/gtk/gtkoverlay.c
index d60e1cb928e690d7c2aaeaef5740b477a90d0633..a81b0a5a4e7085217ed2318eab131cc288e0597f 100644
(file)
--- a/
gtk/gtkoverlay.c
+++ b/
gtk/gtkoverlay.c
@@
-379,7
+379,7
@@
gtk_overlay_remove (GtkContainer *container,
gtk_widget_unparent (widget);
- for (w = gtk_widget_get_first_child (
widget
);
+ for (w = gtk_widget_get_first_child (
GTK_WIDGET (container)
);
w != NULL;
w = gtk_widget_get_next_sibling (w))
{